﻿
@{
    ViewBag.Title = "TableDetialsHtml";
}

<link href="~/HelpContent/FormKuang/text.css" rel="stylesheet" />
<script src="~/HelpContent/FormKuang/text.js"></script>

<link href="~/HelpContent/Css/TableDetialsHtml.css" rel="stylesheet" />

<div class="Body">
    <div class="Content">
        <div class="Nav_Bread">
            <span>系统管理</span> <span>/</span> <a href="/Table/TableTypeInfo">餐桌类型管理</a> <span>/</span> <span id="tname"></span>
        </div>

        <div class="Control">
            <div class="AddTableType">

                <span>添加餐桌</span>
                <a href="/Index/AddTableHtml"> <div class="AddType"><i class="fas fa-plus-circle"></i></div></a>


            </div>
            <div class="TableTypeWhere">



                <div class="left">
                    <div class="tablttitle">桌子信息</div>
                    <div id="StatusSelect" style="width:300px;" class="Select-Control">

                    </div>


                    <div style="margin:0px;width:400px;" class="Input-Control">
                        <div class="input-text"><p>桌子号码</p></div>
                        <input style="width:300px;" id="Tnumber" type="text" required="" name="name" autocomplete="off" value="" placeholder="请输入桌子号码">
                    </div>

                    <div style="margin:0px;width:100px;" class="Input-Control">
                        <button id="query" onclick="query()">查询</button>
                    </div>
                </div>



            </div>


        </div>

        <div class="TableType">

            <div id="table" lay-filter="table">


            </div>

        </div>
    </div>
    </div>
<script type="text/html" id="status">
    {{#if (d.status==0){ }}
    <label>空闲</label>
    {{# } }}

    {{#if (d.status==1){ }}
    <label>占用</label>
    {{# } }}

    {{#if (d.status==2){ }}
    <label>不可用</label>
    {{# } }}
</script>

<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-normal layui-btn-sm" lay-event="detail">详情</a>
    <a class="layui-btn layui-btn-info layui-btn-sm" lay-event="edit">编辑</a>
</script>





<script src="~/HelpContent/JavaScript/TableDetialsHtml.js"></script>